
import instance from '@/utils/axios';

export const fore3DayTxt = (time) => {
  return instance({
    method: "get",
    url: "/xuzhou/cpzz/zdtq/fore3DayTxt",
    params: { time },
  });
}

/**
 * 一周天气预报
 * @param {*} dateTime 
 * @param {*} lat 
 * @param {*} lon 
 * @param {*} sceneId 
 * @returns 
 */
export const findYBDataBy7Days = (dateTime,lat,lon,sceneId,time)=>{
  return instance({
      method: 'get',
      url: '/xuzhou/nriet/scene1/findYBDataBy7Days',
      params: {
          dateTime,
          lat,
          lon,
          sceneId,
          time
      }
  })
}